package com.sui.bigdata.rtcadmin.controller;


import com.sui.bigdata.rtcadmin.model.vo.CommonResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

/**
 * @author YongChen
 * @date 2019/11/6 14:41
 * @description
 * @email yong_chen@sui.com
 */

@RestController
@CrossOrigin
@RequestMapping(value ="/health")
@Slf4j
public class HealthController extends BaseController {

    @GetMapping
    public CommonResponse get() {
        return CommonResponse.Builder.buildSuccess(null);
    }

}
